package com.hit.server.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hit.server.api.dto.RobotWarningReadDTO;
import com.hit.server.api.entity.RobotWarningEntity;
import com.hit.server.api.dto.RobotWarningQueryDTO;
import com.hit.server.api.dto.RobotWarningUpdateDTO;
import com.hit.server.api.vo.RobotWarningVO;

import java.util.ArrayList;
import java.util.List;

public interface RobotWarningService extends IService<RobotWarningEntity> {

	Page<RobotWarningVO> getRobotWarningPage(Page page, RobotWarningQueryDTO dto);
	
	RobotWarningVO getRobotWarningById(Long id);
	
	Boolean updateRobotWarningById(RobotWarningUpdateDTO dto);
	
	Boolean removeRobotWarningBatchByIds(List<Long> ids);

	Boolean readWarning(RobotWarningReadDTO dto);
}